﻿using System;
using System.Drawing;
using System.Windows.Forms;

namespace TextEditor
{
    

    public class ZYTextTableBase : ZYTextContainer
    {
        protected TableCellAlign align = TableCellAlign.Top;
        protected bool autoSize = true;
        protected Color backColor;
        protected FrameStyle frameStyle;
        protected Color graphColor;
       
        protected int innerBottomMargin = 0;
        protected int innerLeftMargin = 1;
        protected int innerRightMargin = 0;
        protected int innerTopMargin = 1;
        protected Color lineColor;
        
        protected int lineWidth = 1;

        public ZYTextTableBase(int i)
            : base(i)
        {

        }

        public ZYTextTableBase()
        { 

        }

        public virtual TableCellAlign Align
        {
            get
            {
                return this.align;
            }
            set
            {
                this.align = value;
            }
        }

        public int InnerBottomMargin
        {
            get
            {
                return this.innerBottomMargin;
            }
            set
            {
                this.innerBottomMargin = value;
            }
        }

        public int InnerLeftMargin
        {
            get
            {
                return this.innerLeftMargin;
            }
            set
            {
                this.innerLeftMargin = value;
            }
        }

        public int InnerRightMargin
        {
            get
            {
                return this.innerRightMargin;
            }
            set
            {
                this.innerRightMargin = value;
            }
        }

        public int InnerTopMargin
        {
            get
            {
                return this.innerTopMargin;
            }
            set
            {
                this.innerTopMargin = value;
            }
        }
    }
}

